package com.nineclock.system.service;

import com.nineclock.dto.*;
import com.nineclock.pojo.SysCompany;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface SysCompanyService {
    public List<SysCompanyDTO> findCompanyByUserId(long userId);

    SysCompanyDTO findCompanyInfo();

    String uploadOSS(MultipartFile file);

    void updateCompanyInfo(SysCompanyDTO sysCompanyDTO);

    SysCompanyUserDTO findCompanyUserAdmin();

    void updateAdmin(SysChangeMainManagerDTO sysChangeMainManagerDTO);

    List<SysCompanyDTO> findCompanyByKeyword(String keyword);

    void applyJoinCompany(SysApplyJoinCompanyUserDTO joinCompanyUserDTO);

    void allowedJoinCompany(SysAllowedJoinCompanyUserDTO sysAllowedJoinCompanyUserDTO);
}
